package org.estela.classifiers;


public class ClassifierInfoBuilder {

	private String type;
	private String name;
	private String description;
	private String toolTip;

	public ClassifierInfoBuilder(Class<? extends Classifier> classifierClass) {
		this.type = classifierClass.getName();
	}

	public static ClassifierInfoBuilder create(Class<? extends Classifier> clazz) {
		return new ClassifierInfoBuilder(clazz);
	}

	public void setClassifierName(String name) {
		this.name = name;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public void setToolTip(String toolTip) {
		this.toolTip = toolTip;
	}

	public ClassifierInfo getClassifierInfo() {
		ClassifierInfo classifierInfo = new ClassifierInfo(this.name, this.description, 
				this.description, this.type);
		
		return classifierInfo;
	}

	public void addAttribute(String attributeName, Class<?> attributeType) {

	}

}
